﻿<?php $pagename = $wp->request;?>
<!--============================== header =================================-->
<header>
      <div class="container clearfix">
    <div class="row">
          <div class="span12">
        <div class="navbar navbar_">
              <div class="container"> 
            
            <a class="btn btn-navbar btn-navbar_" data-toggle="collapse" data-target=".nav-collapse_">Menu <span class="icon-bar"></span> </a>
            <div class="nav-collapse nav-collapse_  collapse">
                  <ul class="nav sf-menu">
                <li class="<?php if(empty($pagename))echo 'active'?>"><a href="<?php echo home_url('/')?>">Trang chủ</a></li>  
                <li class="<?php if($pagename=='xem-phim')echo 'active'?>"><a href="<?php echo home_url('/xem-phim/')?>">Mới nhất</a></li>
                <li class="<?php if($pagename=='phim-hay-nhat')echo 'active'?>"><a href="<?php echo home_url('/phim-hay-nhat/')?>">Yêu thích</a></li>                
                <li class="<?php if($pagename=='about')echo 'active'?>"><a href="<?php echo home_url('/about/')?>">Giới thiệu</a></li>
              </ul>
                </div>
          </div>
            </div>
      </div>
        </div>
  </div>
    </header>
<!--============================== footer =================================-->
<footer>
      <div class="container clearfix">
    <ul class="list-social pull-right">
          <li><a class="icon-1" href="https://www.facebook.com/xemphimchieurap"></a></li>
          <li><a class="icon-3" href="https://twitter.com/xpct2013"></a></li>
          <li><a class="icon-4" href="https://plus.google.com/112384951457937831215/posts"></a></li>
        </ul>
    <div class="privacy pull-left"></div>
  </div>
    </footer>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/bootstrap.js"></script>


<?php wp_footer(); ?>

</body>
</html>